.product-page {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 80px; /* 为底部操作栏留空间 */
}

.product-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.product-page__header-title {
  font-size: 18px;
  font-weight: 500;
}

.product-page__header-actions {
  display: flex;
  gap: 16px;
  font-size: 20px;
}

.product-page__loading,
.product-page__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  color: #666;
}

.product-page__images {
  position: relative;
  background-color: #fff;
  margin-bottom: 8px;
}

.product-page__main-image {
  width: 100%;
  height: 375px;
  overflow: hidden;
}

.product-page__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-page__image-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.product-page__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.2s;
}

.product-page__dot.active {
  background-color: #fff;
}

.product-page__info {
  background-color: #fff;
  padding: 16px;
  margin-bottom: 8px;
}

.product-page__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.product-page__current-price {
  font-size: 24px;
  font-weight: 600;
  color: #ff4757;
}

.product-page__original-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.product-page__name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #333;
}

.product-page__meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #666;
}

.product-page__description {
  background-color: #fff;
  padding: 16px;
}

.product-page__section-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #333;
}

.product-page__description-content {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.product-page__actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background-color: #fff;
  border-top: 1px solid #eee;
  padding: 12px 16px;
  gap: 12px;
}

.product-page__add-cart-btn,
.product-page__buy-now-btn {
  flex: 1;
  height: 44px;
  border: none;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.product-page__add-cart-btn {
  background-color: #ffa502;
  color: #fff;
}

.product-page__add-cart-btn:hover {
  background-color: #ff9500;
}

.product-page__buy-now-btn {
  background-color: #ff4757;
  color: #fff;
}

.product-page__buy-now-btn:hover {
  background-color: #ff3742;
} 